//
//  KYAppConfigModel.h
//  KYKJPackDemo
//
//  Created by 罗新 on 2017/11/8.
//  Copyright © 2017年 ???. All rights reserved.
//

#import <Foundation/Foundation.h>
@class KYShareValueModel;
@class KYReaderValueModel;
@class KYSystemValueModel;
@class KYAppFunctionModel;
@class KYConfigModel;
@class KYSideMenuModel;
@interface KYAppConfigModel : NSObject <NSCoding>
@property (nonatomic, strong) KYShareValueModel *shareModel;
@property (nonatomic, strong) KYReaderValueModel *readModel;
@property (nonatomic, strong) KYSystemValueModel *systemModel;
@property (nonatomic, strong) KYAppFunctionModel *appFunctionModel;
@property (nonatomic, strong) KYConfigModel *configModel;
+ (instancetype)refreshAppConfigDataWithDict:(NSDictionary *)dict;
@end

@interface KYShareValueModel : NSObject <NSCoding>
@property (nonatomic, copy) NSString *share_type;
@property (nonatomic, copy) NSString *share_wxappid;
@property (nonatomic, copy) NSString *share_wxSecret;
@property (nonatomic, copy) NSString *share_qqppid;
@property (nonatomic, copy) NSString *share_qqKey;
+ (instancetype)refreshShareValueWithDict:(NSDictionary *)dict;
@end

@interface KYReaderValueModel : NSObject <NSCoding>
@property (nonatomic, copy) NSString *reader_qq;
@property (nonatomic, copy) NSString *reader_email;
@property (nonatomic, copy) NSString *reader_title;
@property (nonatomic, copy) NSString *reader_content;
@property (nonatomic, copy) NSString *reader_previous;
@property (nonatomic, copy) NSString *reader_next;
@property (nonatomic, copy) NSString *reader_advplace;
+ (instancetype)refreshReaderValueWithDict:(NSDictionary *)dict;
@end

@interface KYSystemValueModel : NSObject <NSCoding>
@property (nonatomic, copy) NSString *app_website;
@property (nonatomic, copy) NSString *app_text;
@property (nonatomic, copy) NSString *app_ads;
@property (nonatomic, copy) NSString *app_type;
@property (nonatomic, copy) NSString *interval_time;
@property (nonatomic, copy) NSString *color;
@property (nonatomic, copy) NSString *history;
@property (nonatomic, copy) NSString *ios_tabbar;
@property (nonatomic, copy) NSString *jpush_appkey;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *menuBgImg;
@property (nonatomic, copy) NSArray<KYSideMenuModel *>  *menu;
@property (nonatomic, copy) NSString *sideSlipStatu;
@property (nonatomic, copy) NSString *appStatus;
@property (nonatomic, copy) NSString *appMsg;
@property (nonatomic, copy) NSString *canClean;
@property (nonatomic, copy) NSString *isVideoFast;
+ (instancetype)refreshSystemValueWithDict:(NSDictionary *)dict;
@end

@interface KYSideMenuModel : NSObject <NSCoding>
@property (nonatomic, copy) NSString *menuTitle;
@property (nonatomic, copy) NSString *menuUrl;
@property (nonatomic, copy) NSString *menuImg;
+ (instancetype)refreshSideMenuWithDict:(NSDictionary *)dict;
@end

@interface KYAppFunctionModel : NSObject <NSCoding>
@property (nonatomic, copy) NSString *open;
+ (instancetype)refreshAppFunctionWithDict:(NSDictionary *)dict;
@end

@interface KYConfigModel : NSObject <NSCoding>
@property (nonatomic, copy) NSString *qrcode_set;
@property (nonatomic, copy) NSString *qrcode_id;
+ (instancetype)refreshConfigWithDict:(NSDictionary *)dict;
@end
